package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Api(tags = "留言")
@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatLeaveWordsFeign {

    /**
     * 留言消息
     * @param start
     * @param pageSize
     * @return
     */
    @ApiOperation("留言消息")
    @PostMapping("/wechat/hotactivitymgr/ajaxhotactivity")
    String indexToLeavewordsList(@RequestParam("start") Integer start,@RequestParam("pageSize") Integer pageSize);
}
